<?php
// 聊天记录拆分的大小 单位字节
Param::write('im.txt_split_lenght', 1024);
// 多长时间不动判断不在线时间 单位秒
Param::write('im.offline_time', 600);
// 案例校验码前缀
Param::write('im.verify_prefix', "5rgqw2");
// 获取用户数据Sql
//$getUserInfoSql = "SELECT user_id uid,user_name u_name,user_ico u_ico FROM isns_users WHERE user_id=$session_uid";
//开启(1)/关闭(0)同步主系统好友关系
Param::write('im.getMainFriend', 1);
$getMainFriend = 1;
//获取好友关系数据Sql
//$getPalsListSql = "SELECT pals_id uid,pals_name u_name,pals_ico u_ico FROM isns_pals_mine WHERE user_id=$session_uid";

//允许传输文件类型
$allowtype = array (
  0 => 'jpg',
  1 => 'gif',
  2 => 'png',
  3 => 'zip',
  4 => 'rar',
);
//允许传输文件的最大值，单位：KB
Param::write('im.allowmaxsize', "1024");
//传输文件临时存放目录，相对与im 目录下
$userfiledir = "uploadfiles/";
//文件在服务器上保存的天数
$savedays = 7;
Param::write('im.savedays', 7);
	?>